package main

import "fmt"

type Object struct {
}

func (o Object) getResult(numA int, numB int, op string) int {
	var result int
	switch op {
	case "+":
		result = numA + numB
	case "-":
		result = numA - numB
	}
	return result
}
func main() {
	var obj Object
	num := obj.getResult(8, 6, "-")
	fmt.Println(num)
}
